package org.karelun.gef.model;

import org.eclipse.draw2d.geometry.Dimension;
import org.eclipse.swt.graphics.RGB;

public class ActorModel extends Node {

    private static final long serialVersionUID = 3256728381147132977L;
    private  String actor="Actor"; //$NON-NLS-1$
    private static int i=0;
    public ActorModel() {
        super();
        if(i>0)
        	actor="Actor"+String.valueOf(i); //$NON-NLS-1$
        setText(actor);
        i++;
        setSize(new Dimension(40, 80));
        
        String id=String.valueOf(System.currentTimeMillis());
        setId(id);
        
        setForeColor(new RGB(0,0,0));
        setBgColor(new RGB(0,0,0));
    }

}
